//
//  DatabaseManager.h
//  smzdm_lib
//
//  Created by tom on 16/5/19.
//  Copyright © 2016年 sm. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "FMDB.h"

@interface DatabaseManager : NSObject
@property(nonatomic,copy,readonly) NSString *  databasePath ;
@property(nonatomic,strong,readonly) FMDatabase  *dataBase ;
+(instancetype) defaultManger ;
-(BOOL)isDataBaseOpened;
-(void)openDataBase ;
-(void)closeDataBase ;

@end
